package com.example.administrator.testpersionn.db;

import com.orm.SugarRecord;
import com.orm.dsl.Unique;

public class TestDemo extends SugarRecord {
    @Unique
    public long id;
    public String title;
    public String edition;

    public TestDemo(){
    }

    public TestDemo(String title, String edition){
        this.title = title;
        this.edition = edition;
    }

    @Override
    public Long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getEdition() {
        return edition;
    }

    public void setEdition(String edition) {
        this.edition = edition;
    }

    @Override
    public String toString() {
        return "TestDemo{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", edition='" + edition + '\'' +
                '}';
    }
}
